package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Permission;

import java.util.List;

/*
 * 权限管理服务接口
 * */
public interface RightsManagementService {

    public void add(Permission permission);

    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public void delete(Integer id);

    public void edit(Permission permission);

    public Permission findById(Integer id);


    public List<Permission> findAll();
}
